package com.select.course.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.select.course.entity.SchoolMajor;
import com.select.course.utils.PageUtils;
import com.select.course.utils.R;
import com.select.course.vo.MajorVo;
import com.select.course.vo.PageVo;

import java.util.List;

/**
* @author 24820
* @description 针对表【c_school_major】的数据库操作Service
* @createDate 2022-10-26 23:08:18
*/
public interface SchoolMajorService extends IService<SchoolMajor> {

    List<SchoolMajor> getMajorName();

    List<MajorVo> getMajorByCollegeName(String name);

    PageUtils getMajorPage(PageVo pageVo);

    R addMajor(MajorVo majorVo);

    MajorVo getMajorInfo(String majorid);

    void deleteMjor(Long id);

    R updateMajor(MajorVo majorVo);
}
